public class Chef           //厨师类
{
    private Order order;
    //获得菜单
    public void GetOrder(Order order)
    {
        this.order=order;

    }
    //厨师做菜
    public void Cook()
    {
        System.out.println("厨师烹制："+order.mealList+"");
        System.out.println("制作完成");

    }
    //提醒饭菜制作完毕
    public void SendAlert(Waitress waitress)
    {
        System.out.println("厨师提示服务员取菜!");
        Waitress.GetOrder(order);
    }
}

